
public class Jewlery {
	
	public static void main(String[] args){
		
	}

	
	public static long howMany(int[] value){
		int totalValue = 0;
		for(int i=0;i<value.length;i++){
			totalValue+=value[i];
		}
		
		
		long totalWays=0;
		
		for(int num=0;num<value.length;num++){
			for(int v=0;v<totalValue;v++){
				if(BobBag[num][v]==1){
					totalWays++;
				}
			}
		}
		return totalWays;
	}
}
